<?php
class ProductsController{
    //获取商品列表
    public function listAction(){
        
            $model=new ProductModel();
            $list=$model->getList();
            //加载视图
            require './products_list';
    }
    public function addAction(){

    }
    public function delAction(){

    }
}
?>